remove

abstract fun <C : P?> remove(callbackClass: Class<C>): C

Removes a particular service callback.

Return

the removed callback object

Parameters

callbackClass

the callback class

<C>

the callback type